projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3713b9
)
xend: Consider ioemu devices for inactive managed domains
author
Keir Fraser
<keir.fraser@citrix.com>
Wed, 16 Sep 2009 08:22:38 +0000
(09:22 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Wed, 16 Sep 2009 08:22:38 +0000
(09:22 +0100)
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
tools/python/xen/xend/XendDomainInfo.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendDomainInfo.py
b/tools/python/xen/xend/XendDomainInfo.py
index 249a62b667e01f3af23120fc4d8e41bb037f08a3..124c910768c54104230ca88295c6b9e5de271540 100644
(file)
--- a/
tools/python/xen/xend/XendDomainInfo.py
+++ b/
tools/python/xen/xend/XendDomainInfo.py
@@
-3636,6
+3636,9
@@
class XendDomainInfo:
config['VDI'] = config.get('VDI', '')
config['device'] = config.get('dev', '')
+ if config['device'].startswith('ioemu:'):
+ _, vbd_device = config['device'].split(':', 1)
+ config['device'] = vbd_device
if ':' in config['device']:
vbd_name, vbd_type = config['device'].split(':', 1)
config['device'] = vbd_name